package com.test.client;

//import org.apache.commons.fileupload.FileItem;

import java.io.File;

import org.apache.commons.fileupload.FileItem;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.test.shared.DataFile;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void greetServer(String input, AsyncCallback<String> callback)
			throws IllegalArgumentException;
	void sendFile(DataFile file, AsyncCallback<String> callback)
			throws IllegalArgumentException;
}
